package top.lyjwn.todo.weinxin.exception;

import top.lyjwn.todo.weinxin.data.error.WxError;

/**
 *微信公众号_ 基础_异常
 * 
 * @author luoyujie
 *
 */
public class WXBBaseException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3822718963900583941L;

	private String message;

	private WxError error;

	public WXBBaseException() {
		super();
	}

	public WXBBaseException(String message, WxError error) {
		this.message = message;
		this.error = error;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public WxError getError() {
		return error;
	}

	public void setError(WxError error) {
		this.error = error;
	}

}
